package com.ysh.domain;


public class Card {

  private long id;
  private String number;
  private long pid;
  private Person person;

  public Person getPerson() {
    return person;
  }

  public void setPerson(Person person) {
    this.person = person;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getNumber() {
    return number;
  }

  public void setNumber(String number) {
    this.number = number;
  }


  public long getPid() {
    return pid;
  }

  public void setPid(long pid) {
    this.pid = pid;
  }

  @Override
  public String toString() {
    return "Card{" +
            "id=" + id +
            ", number='" + number + '\'' +
            ", pid=" + pid +
            ", person=" + person +
            '}';
  }
}
